refactor sleep clause
remove item on -enditem