check for compatibility