add relative and absolute sleep functions