Untangling the dinosaur family tree