some display logic