changed clickpoint to class