adding 'shuffle' function to the process of assigning ids to sites