breaking some loops