put java survey randomization back in
merge