had confused start and end date in factory