updated param passing