Added calls to search and get characters
How about assigning things to the right property?
Variants are an array so check the count
Some logging for now