What is the major function of protein