rename .pop to .removeLast to avoid confusion