Partially completed classify()