Commented code and made usleep in tenths of a second