length check
IE sample