make the date formatter an instance field