Added some comments
Fixed TemporaryGroup initialization