Add function to get random arrangements