Loop will stop for no apparent reason...  @_@