support for deprecated method