Added priority setting