ws
better logging