implemented wise mode in multiline string