trait generator
length converter