Changed how parseList is implemented