add time parsing