start of debugging editpaste