Pass members of args to function