Adding new function model

Make new function mode added to global model