rename history buffer to just buffer (makes more sense)