made some specs. agi_getter mostly working.