more work on rectangleShape