                 =================================================
                 """
                 process.exit(0)
-    welcome: ->
-        @handle 'welcome'
+    welcome: (client) ->
+        @handle( 'welcome', client )
 )
 
-program.welcome()
+client = {}
+program.welcome(client)


                =================================================
                """
                @transition 'promptForInput'
        promptForInput:
            _onEnter: ->
                inquirer.prompt [question1],(answers) =>
                    if answers.action == 'Exit'
                        @transition 'exit'
                    else
                        inquirer.prompt [tableSizeQuestion], (answers) =>
                            @data.tableSize = answers.tableSize
                            @transition 'drawTable'
        drawTable:
            _onEnter: ->
                printer.print @data.tableSize
                @transition 'promptForInput'
        exit:
            _onEnter: ->
                console.log """
                =================================================



program = new (machina.Fsm)(
    initialize: (options) ->

    namespace: 'primes-table'
    initialState: 'uninitialized'
    states:
