finalized NLL classification example