Add model functional