sync implemented and tested
Merge branch 'master' of https://github.com/willxie/comp_421
merged