preparing redis