new variables to redis
lock with redis