version with working time scheduler