add stamp_check.cpp