Inital Pyramid rewrite