changed order of history opts