test the data for what type we are looking for