my code caught by infinity loop :(