Tools lib