new hexto.. function