added LSF implementation