added displayData routine