call function ResolveParameters