Functions and Pyramids