improved the typeused method and moved to a higher node as the multiplication and divide also have to use it