added a reward based on intents
use reward