add ability to calculate interactions