added hipotesis for foreignKey