windows are now in hashmap and can be retrieved on click