export compatible with restricted