modify for calendar parsing