the half map, maybe weak, fully cross platform solution