recording version, now working on packaging the recording code