Break up clickMouse into smaller methods