A lot of local variables changed to arrays (2 decisions only)