dynamic_ctrl() didn't have exactly the same prototype as defined by