cleaned up break from select