recording loop working