replaced length