Add GUI lecture code