added initial terminal.setup