finished basic classifier