pollFirst() now working as intended.