jsondb and graph added… cast needs fixing.