connected to paychart table