moar formattings and objectification!
code and rectangles' cleanup