removed refs to db.hits from production functions