Made windo an object