removed old functions and validation for agents for #52