fixed according to PEP8, and improved code to use classifier classes