added setting of output for classifier