refact command --> naiveHistory