got rid of usleep