generated code that was given the smallest modification that would make it give the proper behavior, but i'm not adverse to changing it.