append to window