add some sample and add function of system and usleep