using usleep() to hold frames