adding foreign keys