support passing cookie in arguments