length improvements