sleep method