model.js added