maintain support for old API