Implemented point selection functionality