AC: removing set_locals