Imported improved acm source code.