added window vs document