corrected pop syntax