added displaying of data. added untested playing