funcs to add paths and print fields