Special cases in calculation of salaries (old)