test for compatiblity