adding spring to the mix
fixing spring integration
using canvas to draw rectangles