implement classification using FaCT++ (but does not work currently)