polyos-based intermediate (not tested)