implement background hasher