improve backward compatibility by providing deprecated functions