horrible slow & very bad FMeasure, but works!