doing classification code