started using redis as a datastore