Enabled to shorten result names, changed some APIs from def to val (because they're called so many times)