removed window reference