added window and header