better factoring for tools