changed output to log scale