I feel stupid for not being able to figure out how this works :(.