add names to fields