Displaying info step by step while program is running