Attribution
Abstract the mutually exclusive check
Added range query
P-convention