created model.cpp