player sleep implemented