String checking is done using an easier method