hACE - added a lot of comments