made the window names resusable variables