Added comment to show what it would've looked like if I did a conditional insteadn of a ternary.