Changed 'g' to 'gName' to better reflect the kind of data contained by f.selection