playing with grave.cpp