formating of output