 		program.products = parseProducts program.products
 		deferred.resolve program
 		return deferred.promise
+	choices = []
+	for product in util.products.categories
+		continue if product.type is 'unknown'
+		choices.push
+			name: [
+				productColor product.type, product.short
+				chalk.gray product.name
+			].join ' '
+			value:		product.type
+			checked:	if product.type is 'express' then false else true
 	inquirer.prompt [{
 		type:		'checkbox',
 		name:		'products',
 		message:	'Which products do you want to use?',
-		choices:	[
-			{
-				name:		'S-Bahn (suburban)'
-				value:		'suburban'
-				checked:	true
-			}, {
-				name:		'U-Bahn (subway)'
-				value:		'subway'
-				checked:	true
-			}, {
-				name:		'Tram (cable car)'
-				value:		'tram'
-				checked:	true
-			}, {
-				name:		'Bus'
-				value:		'bus'
-				checked:	true
-			}, {
-				name:		'Ferry'
-				value:		'ferry'
-				checked:	true
-			}, {
-				name:		'RE/RB (regional trains)'
-				value:		'regional'
-				checked:	true
-			}, {
-				name:		'ICE/IC/EC (express trains)'
-				value:		'express'
-				checked:	false
-			}
-		]
+		choices:	choices
 	}], (answers) ->
 		program.products = parseProducts answers.products
 		deferred.resolve program


parseProducts = (products) ->
	if products is 'all' then return all
	result = {}
	for product in products.split ','
		result[product] = true
	return result





Q =				require 'q'
inquirer =		require 'inquirer'
chalk =			require 'chalk'

vbb =			require 'vbb'
util =			require 'vbb-util'
