Moved result to return