Preparing Gradient Generator