inline a legacy method