this is whats wrong with the priority estimator, double check it later