renamed pop for readability