new parsing code based on previous json work