oops, we were making everything into a string then checking type