initial cross-platform support (wip)