A model for merit pay