display logic added