add pyramid struct