Need list() to force map() to run in Python 3