working, outputs classified category