nit: list instead of string would be cleaner and more efficient.