Removed duplicate len assignment from wb.add