refactor
redis