The functionality is there, but something's up with memory not being changed