The complementarity of structure and function