taking out global redis variable