 			var oneCharString = scanner.string.safeSubstring(start: scanner.scanLocation, length: 1)
 			
 			if oneCharString.containsCharactersInSet(newlineAndSemicolon) {
-				appendNewStatementModel()
+				addCurrentStatementModel()
+				createNewStatementModel()
 			}
 			
 			while scanner.scanLocation < count(scanner.string)

			}
		}
		
		println("--\n\n\n--")
		println(self.statementArray)
	}

	// statementArray contains StatementModel, ConfigurationModel and String objects
	var statementArray = [AnyObject]()
	
	var statementCounter = 0
	var currentStatementModel = StatementModel()
	
	private func addProcessMode(processMode:String) {
		statementArray.append(processMode)
	}
	
	private func createNewStatementModel() {
		currentStatementModel = StatementModel()
	}
	
	private func addCurrentStatementModel() {
		if !currentStatementModel.added && !currentStatementModel.isEmpty {
			statementArray.append(currentStatementModel)
			currentStatementModel.index = statementCounter++
			currentStatementModel.added == true
		}
	}

	private func add(#statementItem:String) {
		currentStatementModel.add(statementItem: statementItem)
	}
	
	private func addAsName(#statementItem:String) {
		currentStatementModel.addAsName(statementItem: statementItem)
	}
	
	private func addParameter(#parameterKey:String, parameterValue:String) {
