example of structure determines function