How does a pyramid work ?