added serializeable classifier