cleaner loop and prompt added