added isNull to export