length conversion pretty much finished