looping seals until exit