clear() --> clearCanvas() (clear() couldn't be used) - change message from clear to clearCanvas.