change codes for tool