I was trying to find an easier way, but had no luck.

This function gets me there though, I appreciate it!