here's where we needed parseJSON