export to window as well (0.2.1)