explain generator syntax in readme