restore original API as deprecated