first try for a redis implementation