figured out transformation on x^x to log formula