logic edit