replaced division with multiplication