and once more bitten by 16 bit integers :-(