init gradient version