created tidy function, setFieldNames, modifications and planning of arf+