initial port of dsr, needs sf testing