added model association with terms