modified window with and height