The art and science of dating