sorted out the shapes