Add length comparison