Motivational and metacognitive feedback in an ITS: linking past states and experiences to current problems