runtime support for imports