add mouse click, draw figures