A somewhat-working DSS version