I found a code, which works, but
I'm not going to show you all of it.
I just corrected this because I found it confusing.
@florencia, you need to show the entire code so we can understand the context of the pieces you are having a problem with. And PLEASE use the # icon to display the code correctly.
...R