add required fields. change date format