add method list() in Model.cpp MOdel.h