reuse window for ag