classify method added