added example entry.cpp