implemented rectangle c in draw() and began synchronize()