using window for status