add comment
fix bug and simplify code
Occur regularly
Occur selected weekdays