made changes to support averq system