moved length to a badge