added toggle to utils