SAM: changed a function name
SAM: changed an indent