add tip
add validate length method
add validate length method doc