make counter one-based rather than zero