Added the type for snrFunc.