add checking compatibility