adde cuberl
fixed length problem
refactorings