Main in classifier