added clear agent