switched to param object because what I has was just crazy