fix recording process
fix client-side recording logic -- now assignments needs reworking