simple debugging helpers
improvements