remove XXX after cross-validation with other implementations