Add some func to model.
add sample part.