support for legacy models