add length back in