moved date format to initializers