changed argument to foriegn keys