support backward compatibility