testing attaching to window