Use list rather than set (Python 2.6 compatibility)