Now properly assigns values from the return of a member function