started work on an offline version with data in a JSON object