implement LSS (untested) (contributes to #19)