Solved the mouse click and representation