displayData method called once