Title: Seniority and ability in promotion and layoff