changed to tool method