passed jshint & strict mode