added comments to header file