Add fullprotectiondata function