adapting to real data json