redid log scaling with KLo's logic!