division function

new division function added