window and pipe (edit)