replacing pushpop