added division and logarithm