quick version, lack of angular.js