selecting targets by mouse works