controllers/total.js done