This is some cool sas code I wrote over the years