forgot about reduce/inject. oops.