added redis.rpush and redis.rpop