pam replacement and other "tricks"