add randomseed for positioning