matrix added in model.js