add pop operation