made the output type of classification problems more flexible