Added more comments to the skeleton functions