remove redundancy
configure time periods