add mapping for inputting date