PAT_advanced