checking values for content