simple recording of raw data