add redis, delete black magic