add ignore and attributes