Add generating hex edition