Science and finickyness work together to create best treats