adding length as CL arg