changed order of constructor arguments to match coding standards