implemented influences() with comparable