Clearing in NDXF is fully rewrited to a functions