sdr: filled in source implementation