began paml implementation on all and arch; added a counter to the second loop