refactored redis keys into functions