added clear log option