call divide function