allowing passing multiple result arguments