checking for length instead of contains :