now it builds a model and classifies an instance