log works fine