add new file: tools.h