use logarithmic scaling in exersice 3.5