One basic similarity between nervous and endocrine system is that they both