updated param names as per api