added window attributes