added datefields to the table