improve acq loop and implement actual data parsing, untested