commented out unused point selection code