getting rack length