i trim the leaves, make hash