adding dissolve on attribute functionality