added fields data file, small edits to fxn's