started adding eqtinteraction function