tweak 0
added learning for Alg1
merged