adding log linear models