tool in c