displayMem code update