changed the user-specified text to invert