Finished the reading and beep logic