adding length thing