Finished promptLoop()