Memory v3 (added reset and some styles)