initialize by g8