initial support for foreign key validation