added add machine code