added displaying of data