initial.rev1

added window listener