Repeated conditional test