added primitive classifier