added foreign keys