ported over more acme code to lib for object expansion