agent - resolves #2