base-compat used for tests