added logging, it's still not super useful