Server and Client: agents added 4