New variables for length