mapping to window instances