basic classifier working