recognize interactions using vectors