Quality of the scholastic system and teacher satisfaction