chech recursive occurrences at the right moment