Actually gave me the answer I needed (this was my fifth attempt at trying to solve this problem). 10/10.