The endocrine system is responsible for: