Fix moves entity
Implement all operations for sleeps