now adheres to jshint