added ability to get time domain samples