added parent call to many require_a statements, added an almost correct algorithm for autopartial