Detection tree phase 4