encoding and correct category examples