notice how similar all three of these functions are. I bet you could generate all three of them in a loop, down below