Pay roll exercise with rails