That explains the infinite loop