completing lambda lecture, pass 1