add code for drawing lines and send screen shot