Which of the following is a function of protein?