Implemented procedures in Model.