synchronized stuff
Merge branch 'master' of https://github.com/pauljs/CS283
added comments