Some function that sets up mapping between node.value and item, `stage`, `learn`, `remember`