basic recording is almost working