a tool for max