updated due to restrictions of jshint