finished pop() and add() instruction