lots of stuff for debugging tags