Adding multiple output format code