added return in pop
after monday's class