changes to code and zams