https://thecode.media/classify-nearly/