put in checks to make sure that the data grabbed from redis is properly formed