randomly generating data to be displayed