add attribute handling - skip attributes if not important