Renamed obj to result