printing the data, how to print diff values?