Which of the following is a function of proteins