backward compatibility with refactoring