add words formatting method