Improvements of LD and pam