changed taskTime type to List<Date>