full python port of SAcC to SRI's specs