adds layouts to grid lecture, some updates