Why not `curr := 0` here?