exports and code compatibility