Pyramids were energy harvesting devices