# Using correct with feedback (evaluating function)

**URL:** <https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105>\
**Category:** Questions\
**Created:** [September 14, 2023, 3:22am UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105 "2023-09-14T03:22:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hannah\_Johnson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/hannah_johnson/32/4509_2.png) [@Hannah\_Johnson](https://cl.desmos.com/u/Hannah_Johnson)\
**Post date:** [September 14, 2023, 3:22am UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105/1 "2023-09-14T03:22:27Z")

</div>

I would like to allow for multiple correct explicit equations and show feedback on the slide of correct or try again. I am working on the explicit equation on slide 4 and getting an error in the note about an undefined correct variable.

> **[Remediation Standard B Unit 1 SM1 • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/650230605d561ef9c6cb85d7)**
>
> by Hannah Johnson

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![Daniel\_Wekselgreene](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_wekselgreene/32/1819_2.png) [@Daniel\_Wekselgreene](https://cl.desmos.com/u/Daniel_Wekselgreene)\
**Post date:** [September 14, 2023, 3:30pm UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105/2 "2023-09-14T15:30:32Z")

</div>

You didn’t define correct as a variable in the explicit2 CL, you just used the sink. So change that line to:

```auto
correct = (C1 = U1) and (C2 = U2) and (C3 = U3)
correct: correct

```

and then in the other component, refer to it using `explicit2.script.correct`

---

<div class="post-metadata">

**Author:** ![Hannah\_Johnson](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/hannah_johnson/32/4509_2.png) [@Hannah\_Johnson](https://cl.desmos.com/u/Hannah_Johnson)\
**Post date:** [September 14, 2023, 5:52pm UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105/3 "2023-09-14T17:52:51Z")

</div>

> [@Daniel\_Wekselgreene](#):
>
> explicit2.script.correct

You are amazing–thank you!!

---

<div class="post-metadata">

**Author:** ![Adam.Kelly](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/adam.kelly/32/1644_2.png) [@Adam.Kelly](https://cl.desmos.com/u/Adam.Kelly)\
**Post date:** [October 23, 2023, 3:58am UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105/4 "2023-10-23T03:58:22Z")

</div>

what does “script” do? Why can’t you just do “explicit2.correct”?

---

<div class="post-metadata">

**Author:** ![Daniel\_Wekselgreene](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/daniel_wekselgreene/32/1819_2.png) [@Daniel\_Wekselgreene](https://cl.desmos.com/u/Daniel_Wekselgreene)\
**Post date:** [October 23, 2023, 4:51am UTC](https://cl.desmos.com/t/using-correct-with-feedback-evaluating-function/5105/5 "2023-10-23T04:51:14Z")

</div>

Script is how you access a variable that is defined within that particular component’s CL.
