add method classify