expand Window functionality