I may be misunderstanding flow/scope here, but where is arguments declared in the scope of addRelation?