added expect on the len