schdeule reset
refactor a bit