use return by value instead of return by reference