initial length method working