reformatting
back to drawing lines on mouse drag - now tested