Setting priorities in prevention door