add time based window feature