new parent table, date function