Display memory function added