changes for max89*