added code to show influences