removes sleep since it is no longer needed