add the document about sleeping