pop() method returns more quickly the result