cleaned up Lambda::getResult