Change removeLast back to pop