store redis lookup result in class so we only have to ping redis once, condense everything into a couple functions