Added demo for length