middle of sequelize integration