Shorter code.
Refactored out unneeded add-result helper func.