gh-4
Refactored the saveMemo method