added toggle log