added comments where missing