added backward compatibility check.