regulate the sleeping pattern