switched where params being set