identifying troubles with scorefxn handshake due to putting code within functions vs inline