removed get max priority