Sample code of using dart (dart in action)