length compatibility