vinay -gaussrand added, phase=0