Windowgram class part 3, windowgram class complete