Added is_primary to teachers