finished compat and tests