from crate template to redis