topic detector class added