added sampleRate print msg + allocated memory for reason