More idiomatic and rehash on tab