addition of base redis code