simplify sleep time