removes unnecessary argument for displayData