Still working on randomizing function.