Put usleep timer in and remove debug print statements