added edit history/ fix gr counter