pay calculation done