lds() now takes argmuments.