adding anonymous function to select random animal