sleep different times acording to command