adds ability to pop list fully functional