refactored output, added question to end the programm