fix : intensity
fix : random in prog2