Change format of output data in Task2