What are some of the functions of proteins