behavior 2 inverted characters added, heading error handler added.