Taghow does sleep work