add memory decay logic, add visualization for memory