logn works