models.js formating