add_pyramid now functions correctly