added selector state convention