Create sleepIn, fix problem with else not printing

Created the sleepIn variable, added an else to the if nested within the
first if