Good catch. I think it would be better to have the scheduling logic outside of this class.