second update of ex08_5.dart