removed extra window keyword