init accept.cpp