changed delay to usleep