spearating the display refresh