need to fix the esc and sort the salaries