made window title dynamic