added switchedit tool