Teaching lions and humans to get along