Syntax error on Protoscore.sample