function of flexors and extensors