initial port from FtR OpenSky