anticipation and goal-directed behavior