Added lecture code