added exhaustion error to categoriser