adding windowing

need to add events