add package model.mode