fixed example.cc