revised Palmer and Tim programs