add ex2.5, ex2.6 (incomplete)