Teacher attrition: a case study