adding in foreign keys