tool class