Added step function
stopping point for the night