modified app to test if json is working