some progress... but still far off correct result