Added dumb agent and some logging