updating to pass proper params