Implement function for returning terms model