changed from simple.json to org.json for communication