revised version
presentation and LegoApp code with annotations