added defauults for date