set values into random positions