directory support function
add hist
bump 0.2.1