added var to collect rate of pay