added model.js