Nice. I'd be interested in the heart rate variability data... what are you using to detect the REM stage?