ENH: Fleshed out the listify function a bit and added anothe helper function