No need for isSleeping to be static