confirm length