updated so time fields can be declared as times