move out redis()