Relocating waiting output to stop the loops ;_;