Tried to average the pay per minute by adding in var payPerMinute