add the pyramid class