Development of an expert system