Updated SAS code