started building an agent class