ui works, but still got problems with input stream: how to identify numbers in a programm upon the ui