added global window object