Implemeted referential integrity