extending foreign keys