batch classification