changing init of slept to 1 instead of 0