minor changes
add status of agents
add offset, fixed errors