modified salary controller