added part 2 machine code