implementing logarithmic scatter, not working yet