updated param passing in