added attrib labels, found duplicates

started adding code for joins