adding tool codes