removed outdated plain_tool code