better logging - it actually works :)