some edit code