some TODO updated in test7.cpp