Recording Functionality almost there.