should work better
better debug info