ok, well given that data will always be a string, I thought we won't need to compare the type of the two. But I'm fine with either one.