early work on time parsing