cartline hydrator refactored