redis backend, better style