finish add field to simstate, start to working on agents