additional length checks