instructional FE code for E2-211