added new text and some minor changes to mangle