modified version of redis client