Added term chaining