added canvas and mouse listener