added a couple of tests, comments, synchronized methods