migrate to lines instead of details