working on controllerview.js