Adding end window