core alg
fix readme