working on addInlineFormat