That seems way more complicated that it needs to be. Also how the heck do you draw a straight line.