start forming a better base for finding items
fix math for non-prior criteria