added source checker for mousePressed