seems to to be common to flag callback as const.. so did it