added globals to make jshint happy