add some docs, use _ instead of i  for unused counter