added comments to the NameBot class