added comments to 12th function.