updated with pyramids