completed the argus refactoring to make jslint happy