classify() integrated with the pkg