started work on windowing