updated the collide and draw functions. also added a toRect(0 function