Not sure what I'm doing wrong here.

I think I'm going to have to scrap all of it and re-paste the other
code in there again