modified to figure out the array keys and added a doubles score request