add compatibility mode