categorization is working according to console, but is only adding one category per entry. have been working on this for a while and still no idea as to why.