reverse logic on setting field names and values