Added priority selection