A smarter way to develop new drugs